]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
notificationDaemon: Use correct property name to enable markup
authorSebastian Keller <skeller@gnome.org>
Tue, 19 Mar 2024 11:47:50 +0000 (12:47 +0100)
committerSebastian Keller <skeller@gnome.org>
Tue, 19 Mar 2024 12:14:04 +0000 (13:14 +0100)
The property is named useBodyMarkup, not bannerMarkup. This was causing
markup to be disabled for FDO notifications.

Fixes: cc60ce7f94 ("notification: Stop using 'update()' from MessageTray.Notification")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7495
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3247>

js/ui/notificationDaemon.js

index 318f1476849e4c9395480c336572dc8c05e2c530..71d8e6cc5da25608c438b86b7913fb1c7d4cdec5 100644 (file)
@@ -204,7 +204,7 @@ class FdoNotificationDaemon {
             title: summary,
             body,
             gicon,
-            bannerMarkup: true,
+            useBodyMarkup: true,
             sound: new MessageTray.Sound(soundFile, hints['sound-name']),
             acknowledged: false,
         });